/**
 * 
 */
package soa.security.test.ws;

import java.io.IOException;

import org.apache.commons.io.IOUtils;
import org.springframework.core.io.ClassPathResource;

/**
 * @author Cre.Gu
 *
 */
public class WebServiceClient {

	public static final String BASE_WSDL = "http://localhost:7777/services/";
	public static final String NAMESPACE = "http://ws.security.soa/";

	public static final String ORGANIZATIONID = "OR0001";

	public static String readXml(String name) throws IOException {
		ClassPathResource r = new ClassPathResource("/xml/" + name);
		return IOUtils.toString(r.getInputStream(), "UTF-8");
	}
}
